﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.AuthorizationUserManager.Dtos
{
    public class PlatformManageRoleInput : PagedAndSortedRequestDto
    {
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool? IsEnabled { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 是否公开
        /// </summary>
        public bool? IsPublic { get; set; }

        public bool? IsAll { get; set; }
    }

    public class PlatformManageRoleUserInput : PagedAndSortedRequestDto
    {
        public string UserName { get; set; }

        public string Name { get; set; }

        public Guid? RoleId { get; set; }

        public bool? IsAll { get; set; }
    }

    public class PlatformManageRoleUserDeleteInput
    {
        public List<Guid> RelationIds { get; set; } = new List<Guid>();
    }

    public class PlatformManageBindUsersInput
    {
        public Guid RoleId { get; set; }
        public List<Guid> UserIds { get; set; } = new List<Guid>();
    }
}
